package com.sangcomz.fishbun.util;

import ohos.agp.components.element.Element;

public abstract class RadioType {

    public static class None extends RadioType {

    }

    public static class RadioText extends RadioType {

        private String text;

        public RadioText(String text) {
            this.text = text;
        }

        public String getText() {
            return text;
        }
    }

    public static class RadioDrawable extends RadioType {
        private Element element;

        public RadioDrawable(Element element) {
            this.element = element;
        }

        public Element getElement() {
            return element;
        }
    }

    public RadioType isRadioText() {
        return this;
    }

}
